package softtech.apps.model;

public class DbConstant {
	
	public static final String LOG = DatabaseHandler.class.getName();
	// Database Version
	public static final int DATABASE_VERSION = 4;
	// Database Name
	public static final String DATABASE_NAME = "DangTinRaoVat";
	
	
	
	/*
	 * Table Name
	 * */ 
	public static final String TABLE_USERS = "users";
	/*
	 * Column of table
	 * */
	public static final String USER_ID_CLIENT = "id_client";
	public static final String USER_EMAIL = "email";
	public static final String USER_AVATAR_PATH = "avatar_path";
	public static final String USER_FULL_NAME = "full_name";
	public static final String USER_ADDRESS = "address";
	public static final String USER_PHONE_NUMBER = "phone_number";
	public static final String USER_RATING = "rating";
	public static final String USER_TYPE = "type";
	public static final String USER_ID_SERVER = "id_server";
	
	// ########################################################
	
	/*
	 * Table Name
	 * */ 
	public static final String TABLE_MESSAGES = "messages";
	/*
	 * Column of table
	 * */
	public static final String MESSAGES_ID = "id";
	public static final String MESSAGES_SIDE = "side";
	public static final String MESSAGES_CONTENT = "content";
	public static final String MESSAGES_FROM = "fromId";
	public static final String MESSAGES_ID_SERVER = "id_server";
	
}
